//
//  NYMemberCenterDataManager.h
//  NOAHWM
//
//  Created by Ryan on 13-5-14.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NYMember.h"

#define kDynamicPasswordDownloaderKey       @"DynamicPasswordDownloaderKey"
#define kResendDynamicPasswordDownloaderKey @"ResendDynamicPasswordDownloaderKey"
#define kRegisterDownloaderKey              @"RegisterDownloaderKey"
#define kLoginDownloaderKey                 @"LoginDownloaderKey"
#define kSendAdviceFeedbackKey              @"SendAdviceFeedbackKey"

#define kDynamicPasswordResponseSucceedNotification @"DynamicPasswordResponseSucceedNotification"
#define kDynamicPasswordResponseErrorNotification   @"DynamicPasswordResponseErrorNotification"

#define kResendDynPwdResponseNotification   @"ResendDynPwdResponseNotification"

#define kGetRegisterUserDataSuccessNotification @"GetRegisterUserDataSuccessNotification"

@interface NYMemberCenterDataManager : NSObject<RYDownloaderDelegate>

@property (nonatomic, retain) NYMember *loginMember;
@property (nonatomic, retain) NSMutableArray *memberRoles;

- (BOOL)isLogin;
- (void)logout;
- (void)saveLoginMemberData;
+ (NYMemberCenterDataManager *)sharedManager;

@end
